package com.dys.pojo;

/**
 * @className: com.dys.pojo.Player
 * @description: com.dys.pojo
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/10/30 23:08
 */
public class Player implements java.io.Serializable {
    private int uid;
    private String username;
    private String password;
    private String nickname;
    private String photo;
    private String filetype;

    public Player() {
    }

    public Player(int uid, String username, String password, String nickname, String photo, String filetype) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.photo = photo;
        this.filetype = filetype;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getFiletype() {
        return filetype;
    }

    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }

    @Override
    public String toString() {
        return "Player{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", photo='" + photo + '\'' +
                ", filetype='" + filetype + '\'' +
                '}';
    }
}
